home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _EEB362FEA76E4B559D7C9D228FF09E71 < prev    next >
Encoding:
Text File  |  2004-01-06  |  1.6 KB  |  45 lines

  1. //CGVER1.8
  2. vs_2_x
  3. // DX9 Vertex shader generated by NVIDIA Cg compiler
  4. // cgc version 1.1.0003, build date Jul  7 2003  11:55:19
  5. // command line args: -q -profile vs_2_x -entry main -profileopts DynamicFlowControlDepth=0,NumTemps=16,Predication=0
  6. // nv30vp backend compiling 'main' program
  7. //vendor NVIDIA Corporation
  8. //version 1.0.02
  9. //profile vs_2_x
  10. //program main
  11. //semantic main.ModelViewProj : C0
  12. //semantic main.Offset01
  13. //semantic main.Offset2
  14. //semantic main.g_VSCONST_0_025_05_1 : C28
  15. //var float4 IN.Position : $vin.POSITION : POSITION : 0 : 1
  16. //var float4 IN.TexCoord0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
  17. //var float4x4 ModelViewProj : C0 : c[0], 4 : 1 : 1
  18. //var float4 Offset01 :  : c[4] : 2 : 1
  19. //var float4 Offset2 :  : c[5] : 3 : 1
  20. //var float4 g_VSCONST_0_025_05_1 : C28 : c[28] : 4 : 1
  21. //var float4 HPosition : $vout.POSITION : POSITION : -1 : 1
  22. //var float4 Tex0 : $vout.TEXCOORD0 : TEXCOORD0 : -1 : 1
  23. //var float4 Tex1 : $vout.TEXCOORD1 : TEXCOORD1 : -1 : 1
  24. //var float4 Tex2 : $vout.TEXCOORD2 : TEXCOORD2 : -1 : 1
  25. //var float4 Tex3 : $vout.TEXCOORD3 : TEXCOORD3 : -1 : 1
  26. //var float4 Tex4 : $vout.TEXCOORD4 : TEXCOORD4 : -1 : 1
  27. //var float4 Tex5 : $vout.TEXCOORD5 : TEXCOORD5 : -1 : 1
  28. //var float4 Tex6 : $vout.TEXCOORD6 : TEXCOORD6 : -1 : 1
  29. dcl_texcoord0 v1
  30. dcl_position v0
  31.     mov oT0.xy, v1.xyxx
  32.     dp4 oPos.x, c0, v0
  33.     dp4 oPos.y, c1, v0
  34.     dp4 oPos.z, c2, v0
  35.     dp4 oPos.w, c3, v0
  36.     add oT1.xy, v1.xy, c4.xy
  37.     add oT2.xy, v1.xy, c4.zw
  38.     add oT3.xy, v1.xy, c5.xy
  39.     add oT4.xy, v1.xy, -c4.xy
  40.     add oT5.xy, v1.xy, -c4.zw
  41.     add oT6.xy, v1.xy, -c5.xy
  42. // 11 instructions
  43. // 0 temp registers
  44. // End of program
  45.